﻿using System;

class calculateSumOfNumbers
{
    static void Main()
    {
        int i, n, sum=0;
        for (i = 1; i <= 5; i++)
        {
            n = int.Parse(Console.ReadLine()); 
            sum = sum + n;
            Console.WriteLine(sum);
        }
    }
}